﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace JinRiAdmin.WebHost.ViewModels
{
    public class AboutModel
    {
        public Guid Id { get; set; }
        public Guid BannerImageId { get; set; }

        [Required]
        [Display(Name = "公司简介")]
        [AllowHtml]
        public string Introduce { get; set; }

        [Required]
        [Display(Name = "创始人名称")]
        public string Name { get; set; }

        [Required]
        [Display(Name = "创始人职位")]
        public string Title { get; set; }

        [Required]
        [AllowHtml]
        [Display(Name = "创始人介绍")]
        public string Content { get; set; }

        public DateTime CreateTime { get; set; }
        public DateTime UpdateTime { get; set; }

        public Guid ImageId { get; set; }
    }
}